package com.jiangjiang.eshop.auth.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName AccountPriorityRelationshipEntity
 * @Description TODO
 * @Author jhw
 * @Date 2021/5/10 21:53
 * @Version 1.0
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("auth_account_priority_relationship")
public class AccountPriorityRelationshipEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 权限id
     */
    @TableField(value = "priority_id")
    private Long priorityId;
    /**
     * 角色id
     */
    @TableField(value = "account_id")
    private Long accountId;
    /**
     * 创建时间
     */
    @TableField(value = "gmt_create", fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified", fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
}
